﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="adver.aspx.cs" Inherits="adver" %>

<!DOCTYPE>

<html >
<head runat="server">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" />
    <title>樂點公車即時資訊服務</title>
    <style>
    </style>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-34126365-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>
<body>
   <div><img src="ad/20120903/1.jpg"  style="width:100%" /></div>
<div><img src="ad/20120903/2.jpg"  style="width:100%" /></div>
<div><img src="ad/20120903/3.jpg"  style="width:100%" /></div>
<div><img src="ad/20120903/4.jpg"  style="width:100%" /></div>
<div><img src="ad/20120903/5.jpg"  style="width:100%" /></div>
<div><img src="ad/20120903/6.jpg"  style="width:100%" /></div>
<div><img src="ad/20120903/7.jpg"  style="width:100%" /></div>
<div><img src="ad/20120903/8.jpg"  style="width:100%" /></div>
   <div style=" text-align:center; "><a style="text-decoration:none;" href="http://www.wretch.cc/blog/iceboy0706">岡崗的圖文日誌</a></div>
    <div id="fb-root"></div>
<script>    (function (d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = "//connect.facebook.net/zh_TW/all.js#xfbml=1&appId=248492585271854";
        fjs.parentNode.insertBefore(js, fjs);
    } (document, 'script', 'facebook-jssdk'));</script>

    <div class="fb-like" data-href='http://qr.joytalq.net/adver.aspx?date=<%=System.DateTime.Now.ToString("yyyyMMdd") %>' data-width="310" data-show-faces="true" data-font="lucida grande"></div>

</iframe>

    <button onclick="to();" style="width:100%;height:50px" >進入樂點公車服務</button>
</body>

</html>
<script>
    function to() {
        document.location = 'businfo.aspx?rtid=<%=Request.Cookies["JoySpots"].Values["rtid"] %>&gob=<%=Request.Cookies["JoySpots"].Values["gob"] %>&city=<%=Request.Cookies["JoySpots"].Values["city"] %>&busid=<%=Request.Cookies["JoySpots"].Values["busid"] %>';
    }
</script>